package fire.button;

import fire.Main;
import fire.room.FactoryMap;
import fire.room.Map;

public class StartButton extends Button {

	public StartButton( double x, double y ) {
		super("start", x, y, 999, "start");
	}
	
	
	@Override
	public void mouseInside() {
		setGraphic("start_hover");
	}
	
	@Override
	public void mouseOutside() {
		setGraphic("start");
	}

	@Override
	public void leftClick() {
		Main.changeMap(FactoryMap.mapList.get("map1"));
	}

	@Override
	public void middleClick() {
		
	}

	@Override
	public void rightClick() {
	}

}
